package com.hhkj.study.admin.resource.excel;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.utils.excl.ExcelImportBaseTemplate;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 导入模板,子类继承专用
 * @Author luowu
 * @Date 2024/9/24 涵 11:29:28
 */
@Data
public class BaseExcelRes extends ExcelImportBaseTemplate {

    @NotNull(message = "序号不能为空")
    @Excel(name = "序号", width = 20, needMerge = true, type = Excel.Type.IMPORT, require = true)
    private Integer indexNum;

    private String name;

    private String docName;

    private String videoName;

    private String bankName;

    private String teacherName;

    private Long docId;

    private Long bankId;

    private Long teacherId;

    /**
     * 导入直播回放时需要判断该字段
     */
    private String liveName;

    /**
     * 资源课程类型
     */
    private Long resourceCourseType;
}
